import 'package:changxindianzishangwu/cache/local_cache.dart';
import 'package:changxindianzishangwu/http/base/ec_base_request.dart';
import 'package:changxindianzishangwu/http/request/my_function_feed_back_request.dart';
import 'package:changxindianzishangwu/http/zd_net.dart';
import 'package:changxindianzishangwu/model/dynamic_media_model.dart';

class MyFunctionDao {
  ///意见反馈
  static feedBack(msg,url,telphone,userId) async {
    EcBaseRequest request = MyFunctionFeedBackRequest();
    request
        .add("access_token", getAppLoginToken())
        .add("msg", msg)
        .add("url",url)
        .add("telphone", telphone)
        .add("userId", userId);
    var result = await ZdNet.getInstance().send(request);
    print(result);
    return DynamicMediaModel.fromJson(result);
  }
}
